package com.itheima.reggie.Api;

import com.itheima.reggie.common.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

/**
 * @author lifeihu
 * @date 2021/12/8
 * @TIME:15:21
 */
@Api(description = "套餐管理API")
public interface SetmealControllerApi {
    @ApiOperation(value = "套餐分页查询接口")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "page",value = "页码",required = true),
            @ApiImplicitParam(name = "pageSize",value = "每页记录数",required = true),
            @ApiImplicitParam(name = "name",value = "套餐名称",required = false)
    })
    public R findByPage(Integer page, Integer pageSize, String name);
}
